﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections.ObjectModel;

namespace HtmlExtractor
{
    /// <summary>
    /// 
    /// </summary>
    public class SimpleItem:IPageItem
    {
        public SimpleItem()
        { }
        public SimpleItem(string outputPath, string value)
        {
            Value = value;
            OutputPath = outputPath;
        }
        public string OutputPath
        { get; set; }

        public string Value
        { get; set; }

        //public string GetStringOutputPath()
        //{
        //    return OutputPath;
        //}
        #region IPageItem Members

        public new ResultType GetType()
        {
            return ResultType.SimpleItem;
        }

       

        public List<string> GetOutputPath()
        {
            return new List<string>{OutputPath};
        }
        public List<string> GetValue()
        {
            return new List<string> { Value };
        }
        #endregion
    }
}
